3.90 \(\int \frac {(d+e x^2)^2 (a+b \text {csch}^{-1}(c x))}{x^2} \, dx\)

Optimal. Leaf size=170 \[ -\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{x}+2 d e x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e^2 x^3 \left (a+b \text {csch}^{-1}(c x)\right )+\frac {b c d^2 \sqrt {-c^2 x^2-1}}{\sqrt {-c^2 x^2}}-\frac {b e x \left (12 c^2 d-e\right ) \tan ^{-1}\left (\frac {c x}{\sqrt {-c^2 x^2-1}}\right )}{6 c^2 \sqrt {-c^2 x^2}}+\frac {b e^2 x^2 \sqrt {-c^2 x^2-1}}{6 c \sqrt {-c^2 x^2}} \]

[Out]

-d^2*(a+b*arccsch(c*x))/x+2*d*e*x*(a+b*arccsch(c*x))+1/3*e^2*x^3*(a+b*arccsch(c*x))-1/6*b*(12*c^2*d-e)*e*x*arc
tan(c*x/(-c^2*x^2-1)^(1/2))/c^2/(-c^2*x^2)^(1/2)+b*c*d^2*(-c^2*x^2-1)^(1/2)/(-c^2*x^2)^(1/2)+1/6*b*e^2*x^2*(-c
^2*x^2-1)^(1/2)/c/(-c^2*x^2)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.14, antiderivative size = 170, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 7, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {270, 6302, 12, 1265, 388, 217, 203} \[ -\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{x}+2 d e x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e^2 x^3 \left (a+b \text {csch}^{-1}(c x)\right )+\frac {b c d^2 \sqrt {-c^2 x^2-1}}{\sqrt {-c^2 x^2}}-\frac {b e x \left (12 c^2 d-e\right ) \tan ^{-1}\left (\frac {c x}{\sqrt {-c^2 x^2-1}}\right )}{6 c^2 \sqrt {-c^2 x^2}}+\frac {b e^2 x^2 \sqrt {-c^2 x^2-1}}{6 c \sqrt {-c^2 x^2}} \]

Antiderivative was successfully verified.

[In]

Int[((d + e*x^2)^2*(a + b*ArcCsch[c*x]))/x^2,x]

[Out]

(b*c*d^2*Sqrt[-1 - c^2*x^2])/Sqrt[-(c^2*x^2)] + (b*e^2*x^2*Sqrt[-1 - c^2*x^2])/(6*c*Sqrt[-(c^2*x^2)]) - (d^2*(
a + b*ArcCsch[c*x]))/x + 2*d*e*x*(a + b*ArcCsch[c*x]) + (e^2*x^3*(a + b*ArcCsch[c*x]))/3 - (b*(12*c^2*d - e)*e
*x*ArcTan[(c*x)/Sqrt[-1 - c^2*x^2]])/(6*c^2*Sqrt[-(c^2*x^2)])

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 270

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*(a + b*x^n)^p,
 x], x] /; FreeQ[{a, b, c, m, n}, x] && IGtQ[p, 0]

Rule 388

Int[((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[(d*x*(a + b*x^n)^(p + 1))/(b*(n*
(p + 1) + 1)), x] - Dist[(a*d - b*c*(n*(p + 1) + 1))/(b*(n*(p + 1) + 1)), Int[(a + b*x^n)^p, x], x] /; FreeQ[{
a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && NeQ[n*(p + 1) + 1, 0]

Rule 1265

Int[((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(q_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Wit
h[{Qx = PolynomialQuotient[(a + b*x^2 + c*x^4)^p, f*x, x], R = PolynomialRemainder[(a + b*x^2 + c*x^4)^p, f*x,
 x]}, Simp[(R*(f*x)^(m + 1)*(d + e*x^2)^(q + 1))/(d*f*(m + 1)), x] + Dist[1/(d*f^2*(m + 1)), Int[(f*x)^(m + 2)
*(d + e*x^2)^q*ExpandToSum[(d*f*(m + 1)*Qx)/x - e*R*(m + 2*q + 3), x], x], x]] /; FreeQ[{a, b, c, d, e, f, q},
 x] && NeQ[b^2 - 4*a*c, 0] && IGtQ[p, 0] && LtQ[m, -1]

Rule 6302

Int[((a_.) + ArcCsch[(c_.)*(x_)]*(b_.))*((f_.)*(x_))^(m_.)*((d_.) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> With[{u
= IntHide[(f*x)^m*(d + e*x^2)^p, x]}, Dist[a + b*ArcCsch[c*x], u, x] - Dist[(b*c*x)/Sqrt[-(c^2*x^2)], Int[Simp
lifyIntegrand[u/(x*Sqrt[-1 - c^2*x^2]), x], x], x]] /; FreeQ[{a, b, c, d, e, f, m, p}, x] && ((IGtQ[p, 0] &&
!(ILtQ[(m - 1)/2, 0] && GtQ[m + 2*p + 3, 0])) || (IGtQ[(m + 1)/2, 0] &&  !(ILtQ[p, 0] && GtQ[m + 2*p + 3, 0]))
 || (ILtQ[(m + 2*p + 1)/2, 0] &&  !ILtQ[(m - 1)/2, 0]))

Rubi steps

\begin {align*} \int \frac {\left (d+e x^2\right )^2 \left (a+b \text {csch}^{-1}(c x)\right )}{x^2} \, dx &=-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{x}+2 d e x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e^2 x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {(b c x) \int \frac {-3 d^2+6 d e x^2+e^2 x^4}{3 x^2 \sqrt {-1-c^2 x^2}} \, dx}{\sqrt {-c^2 x^2}}\\ &=-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{x}+2 d e x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e^2 x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {(b c x) \int \frac {-3 d^2+6 d e x^2+e^2 x^4}{x^2 \sqrt {-1-c^2 x^2}} \, dx}{3 \sqrt {-c^2 x^2}}\\ &=\frac {b c d^2 \sqrt {-1-c^2 x^2}}{\sqrt {-c^2 x^2}}-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{x}+2 d e x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e^2 x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {(b c x) \int \frac {6 d e+e^2 x^2}{\sqrt {-1-c^2 x^2}} \, dx}{3 \sqrt {-c^2 x^2}}\\ &=\frac {b c d^2 \sqrt {-1-c^2 x^2}}{\sqrt {-c^2 x^2}}+\frac {b e^2 x^2 \sqrt {-1-c^2 x^2}}{6 c \sqrt {-c^2 x^2}}-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{x}+2 d e x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e^2 x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {\left (b \left (12 c^2 d e-e^2\right ) x\right ) \int \frac {1}{\sqrt {-1-c^2 x^2}} \, dx}{6 c \sqrt {-c^2 x^2}}\\ &=\frac {b c d^2 \sqrt {-1-c^2 x^2}}{\sqrt {-c^2 x^2}}+\frac {b e^2 x^2 \sqrt {-1-c^2 x^2}}{6 c \sqrt {-c^2 x^2}}-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{x}+2 d e x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e^2 x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {\left (b \left (12 c^2 d e-e^2\right ) x\right ) \operatorname {Subst}\left (\int \frac {1}{1+c^2 x^2} \, dx,x,\frac {x}{\sqrt {-1-c^2 x^2}}\right )}{6 c \sqrt {-c^2 x^2}}\\ &=\frac {b c d^2 \sqrt {-1-c^2 x^2}}{\sqrt {-c^2 x^2}}+\frac {b e^2 x^2 \sqrt {-1-c^2 x^2}}{6 c \sqrt {-c^2 x^2}}-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{x}+2 d e x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e^2 x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {b \left (12 c^2 d-e\right ) e x \tan ^{-1}\left (\frac {c x}{\sqrt {-1-c^2 x^2}}\right )}{6 c^2 \sqrt {-c^2 x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.22, size = 134, normalized size = 0.79 \[ \frac {c^2 \left (2 a c \left (-3 d^2+6 d e x^2+e^2 x^4\right )+b x \sqrt {\frac {1}{c^2 x^2}+1} \left (6 c^2 d^2+e^2 x^2\right )\right )+2 b c^3 \text {csch}^{-1}(c x) \left (-3 d^2+6 d e x^2+e^2 x^4\right )+b e x \left (12 c^2 d-e\right ) \log \left (x \left (\sqrt {\frac {1}{c^2 x^2}+1}+1\right )\right )}{6 c^3 x} \]

Antiderivative was successfully verified.

[In]

Integrate[((d + e*x^2)^2*(a + b*ArcCsch[c*x]))/x^2,x]

[Out]

(c^2*(b*Sqrt[1 + 1/(c^2*x^2)]*x*(6*c^2*d^2 + e^2*x^2) + 2*a*c*(-3*d^2 + 6*d*e*x^2 + e^2*x^4)) + 2*b*c^3*(-3*d^
2 + 6*d*e*x^2 + e^2*x^4)*ArcCsch[c*x] + b*(12*c^2*d - e)*e*x*Log[(1 + Sqrt[1 + 1/(c^2*x^2)])*x])/(6*c^3*x)

________________________________________________________________________________________

fricas [B]  time = 1.22, size = 347, normalized size = 2.04 \[ \frac {2 \, a c^{3} e^{2} x^{4} + 6 \, b c^{4} d^{2} x + 12 \, a c^{3} d e x^{2} - 6 \, a c^{3} d^{2} - 2 \, {\left (3 \, b c^{3} d^{2} - 6 \, b c^{3} d e - b c^{3} e^{2}\right )} x \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x + 1\right ) - {\left (12 \, b c^{2} d e - b e^{2}\right )} x \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x\right ) + 2 \, {\left (3 \, b c^{3} d^{2} - 6 \, b c^{3} d e - b c^{3} e^{2}\right )} x \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x - 1\right ) + 2 \, {\left (b c^{3} e^{2} x^{4} + 6 \, b c^{3} d e x^{2} - 3 \, b c^{3} d^{2} + {\left (3 \, b c^{3} d^{2} - 6 \, b c^{3} d e - b c^{3} e^{2}\right )} x\right )} \log \left (\frac {c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} + 1}{c x}\right ) + {\left (6 \, b c^{4} d^{2} x + b c^{2} e^{2} x^{3}\right )} \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}}}{6 \, c^{3} x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d)^2*(a+b*arccsch(c*x))/x^2,x, algorithm="fricas")

[Out]

1/6*(2*a*c^3*e^2*x^4 + 6*b*c^4*d^2*x + 12*a*c^3*d*e*x^2 - 6*a*c^3*d^2 - 2*(3*b*c^3*d^2 - 6*b*c^3*d*e - b*c^3*e
^2)*x*log(c*x*sqrt((c^2*x^2 + 1)/(c^2*x^2)) - c*x + 1) - (12*b*c^2*d*e - b*e^2)*x*log(c*x*sqrt((c^2*x^2 + 1)/(
c^2*x^2)) - c*x) + 2*(3*b*c^3*d^2 - 6*b*c^3*d*e - b*c^3*e^2)*x*log(c*x*sqrt((c^2*x^2 + 1)/(c^2*x^2)) - c*x - 1
) + 2*(b*c^3*e^2*x^4 + 6*b*c^3*d*e*x^2 - 3*b*c^3*d^2 + (3*b*c^3*d^2 - 6*b*c^3*d*e - b*c^3*e^2)*x)*log((c*x*sqr
t((c^2*x^2 + 1)/(c^2*x^2)) + 1)/(c*x)) + (6*b*c^4*d^2*x + b*c^2*e^2*x^3)*sqrt((c^2*x^2 + 1)/(c^2*x^2)))/(c^3*x
)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (e x^{2} + d\right )}^{2} {\left (b \operatorname {arcsch}\left (c x\right ) + a\right )}}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d)^2*(a+b*arccsch(c*x))/x^2,x, algorithm="giac")

[Out]

integrate((e*x^2 + d)^2*(b*arccsch(c*x) + a)/x^2, x)

________________________________________________________________________________________

maple [A]  time = 0.06, size = 189, normalized size = 1.11 \[ c \left (\frac {a \left (\frac {c^{3} x^{3} e^{2}}{3}+2 c^{3} d e x -\frac {d^{2} c^{3}}{x}\right )}{c^{4}}+\frac {b \left (\frac {e^{2} \mathrm {arccsch}\left (c x \right ) c^{3} x^{3}}{3}+2 \,\mathrm {arccsch}\left (c x \right ) c^{3} d e x -\frac {\mathrm {arccsch}\left (c x \right ) d^{2} c^{3}}{x}+\frac {\sqrt {c^{2} x^{2}+1}\, \left (6 d^{2} c^{4} \sqrt {c^{2} x^{2}+1}+12 c^{3} d e \arcsinh \left (c x \right ) x +\sqrt {c^{2} x^{2}+1}\, c^{2} x^{2} e^{2}-\arcsinh \left (c x \right ) c x \,e^{2}\right )}{6 c^{2} x^{2} \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}}\right )}{c^{4}}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x^2+d)^2*(a+b*arccsch(c*x))/x^2,x)

[Out]

c*(a/c^4*(1/3*c^3*x^3*e^2+2*c^3*d*e*x-d^2*c^3/x)+b/c^4*(1/3*e^2*arccsch(c*x)*c^3*x^3+2*arccsch(c*x)*c^3*d*e*x-
arccsch(c*x)*d^2*c^3/x+1/6*(c^2*x^2+1)^(1/2)*(6*d^2*c^4*(c^2*x^2+1)^(1/2)+12*c^3*d*e*arcsinh(c*x)*x+(c^2*x^2+1
)^(1/2)*c^2*x^2*e^2-arcsinh(c*x)*c*x*e^2)/c^2/x^2/((c^2*x^2+1)/c^2/x^2)^(1/2)))

________________________________________________________________________________________

maxima [A]  time = 0.41, size = 191, normalized size = 1.12 \[ \frac {1}{3} \, a e^{2} x^{3} + {\left (c \sqrt {\frac {1}{c^{2} x^{2}} + 1} - \frac {\operatorname {arcsch}\left (c x\right )}{x}\right )} b d^{2} + \frac {1}{12} \, {\left (4 \, x^{3} \operatorname {arcsch}\left (c x\right ) + \frac {\frac {2 \, \sqrt {\frac {1}{c^{2} x^{2}} + 1}}{c^{2} {\left (\frac {1}{c^{2} x^{2}} + 1\right )} - c^{2}} - \frac {\log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} + 1\right )}{c^{2}} + \frac {\log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} - 1\right )}{c^{2}}}{c}\right )} b e^{2} + 2 \, a d e x + \frac {{\left (2 \, c x \operatorname {arcsch}\left (c x\right ) + \log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} + 1\right ) - \log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} - 1\right )\right )} b d e}{c} - \frac {a d^{2}}{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d)^2*(a+b*arccsch(c*x))/x^2,x, algorithm="maxima")

[Out]

1/3*a*e^2*x^3 + (c*sqrt(1/(c^2*x^2) + 1) - arccsch(c*x)/x)*b*d^2 + 1/12*(4*x^3*arccsch(c*x) + (2*sqrt(1/(c^2*x
^2) + 1)/(c^2*(1/(c^2*x^2) + 1) - c^2) - log(sqrt(1/(c^2*x^2) + 1) + 1)/c^2 + log(sqrt(1/(c^2*x^2) + 1) - 1)/c
^2)/c)*b*e^2 + 2*a*d*e*x + (2*c*x*arccsch(c*x) + log(sqrt(1/(c^2*x^2) + 1) + 1) - log(sqrt(1/(c^2*x^2) + 1) -
1))*b*d*e/c - a*d^2/x

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (e\,x^2+d\right )}^2\,\left (a+b\,\mathrm {asinh}\left (\frac {1}{c\,x}\right )\right )}{x^2} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((d + e*x^2)^2*(a + b*asinh(1/(c*x))))/x^2,x)

[Out]

int(((d + e*x^2)^2*(a + b*asinh(1/(c*x))))/x^2, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a + b \operatorname {acsch}{\left (c x \right )}\right ) \left (d + e x^{2}\right )^{2}}{x^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x**2+d)**2*(a+b*acsch(c*x))/x**2,x)

[Out]

Integral((a + b*acsch(c*x))*(d + e*x**2)**2/x**2, x)

________________________________________________________________________________________